From b2107b79b006ded5cf2ef41ac65399c3e629f693 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20Gro=C3=9Fe?= Date: Tue, 13 Jun 2017 01:05:20 +0200 Subject: [PATCH] libxenstat: use python detected by configure for python bindings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Große Acked-by: Wei Liu --- tools/xenstat/libxenstat/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile index 85cec63ebf..08b0f35172 100644 --- a/tools/xenstat/libxenstat/Makefile +++ b/tools/xenstat/libxenstat/Makefile @@ -102,7 +102,7 @@ $(BINDINGS): $(SHLIB) $(SHLIB_LINKS) src/xenstat.h SWIG_FLAGS=-module xenstat -Isrc # Python bindings -PYTHON_VERSION=2.3 +PYTHON_VERSION=$(PYTHON:python%=%) PYTHON_FLAGS=-I/usr/include/python$(PYTHON_VERSION) -lpython$(PYTHON_VERSION) $(PYMOD): $(PYSRC) $(PYSRC): bindings/swig/xenstat.i -- 2.30.2